package com.example.register1.service;

import com.example.register1.dao.UserMapper;
import com.example.register1.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {

    @Autowired
    private UserMapper userMapper;

    public void register(User user){
        userMapper.insertUser(user);

    }



}
